package com.sky.service;

import com.sky.autofill.fill;
import com.sky.dto.DishDTO;
import com.sky.dto.DishPageQueryDTO;
import com.sky.entity.Dish;
import com.sky.enumeration.OperationType;
import com.sky.result.PageResult;
import com.sky.vo.DishVO;

import java.util.List;

public interface DishService {

     List<Dish> GetDishesByCategoryId(Long id) ;


    void save(Dish dish);

    PageResult SelectBypage(DishPageQueryDTO dishPageQueryDTO);

    void StartOrclose(Integer status, Long id);

     void Delete(List<Long> list);


    DishVO getById(Long id);

    void Update(DishDTO dishDTO);
}
